package com.fdb.efp.nls.service.dao;

import java.util.List;

import com.fdb.efp.nls.service.domain.BdLoanpay;
import com.fdb.efp.nls.service.vo.BdLoanpayVO;

/**
 * DAO interface:百度放款申请信息
 * 
 * @author huangwb
 * @since 2018年12月27日 上午8:33:47
 * @version 1.0
 */
public interface BdLoanpayDao {

	public int insertBdLoanpay(BdLoanpay bdLoanpay);

	public int deleteByPk(BdLoanpay bdLoanpay);

	public int updateByPk(BdLoanpay bdLoanpay);

	public BdLoanpay queryByPk(BdLoanpay bdLoanpay);

	public List<BdLoanpay> queryAllOwnerByPage(BdLoanpayVO bdLoanpay);

	public List<BdLoanpay> queryAllCurrOrgByPage(BdLoanpayVO bdLoanpay);

	public List<BdLoanpay> queryAllCurrDownOrgByPage(BdLoanpayVO bdLoanpay);

	public int updateByOrderId(BdLoanpay bdLoanpay);

	/**
	 * 
	 * 贷款每日放款明细临时表数据到放款申请信息表有数据则更新，无则新增 <br>
	 * 0.1:weijj:2019年5月7日 下午2:37:18:新增 <br>
	 * 
	 * @author weijj
	 * @since 2019年5月7日 下午2:37:18
	 * @date 2019年5月7日 下午2:37:18
	 * @version 0.1
	 */
	public int insertOrUpdateBdLoanpay(List<BdLoanpay> list);

}
